package entity

import (
	"time"

	"shqsoft.cn/pas3ui/base"
)

//CompAccoFlrql
type CompAccoFlrql struct {
	ID      int        `gorm:"AUTO_INCREMENT;primary_key;column:JLID"`
	ACID    int        `gorm:"column:ACID"`
	CUNM    string     `gorm:"column:CUNM"`
	ACNO    string     `gorm:"column:ACNO"`
	BANO    string     `gorm:"column:BANO"`
	VLDT    *time.Time `gorm:"column:VLDT"`
	MADT    *time.Time `gorm:"column:MADT"`
	RDNM    string     `gorm:"column:RDNM"`
	ITNO    string     `gorm:"column:ITNO"`
	ITNM    string     `gorm:"column:ITNM"`
	CYNM    string     `gorm:"column:CYNM"`
	ISFLRQL int        `gorm:"column:ISFLRQL"`
}

//TableName
func (CompAccoFlrql) TableName() string {
	return "V_CM_CORP_CUST_DPSIT_ACCT_SUM_M"
}

func CompAccoFlrqlEF() base.EntityFunc {
	return func() interface{} {
		entity := CompAccoFlrql{}
		return &entity
	}
}
func CompAccoFlrqlESF() base.EntitiesFunc {
	return func() interface{} {
		var entities []CompAccoFlrql
		return &entities
	}
}

func init() {
	base.DaoPoolObj.Put("CompAccoFlrql", base.NewDefaultDao(CompAccoFlrqlEF(), CompAccoFlrqlESF(), nil, "ch"))
}
